package com.sc.mapper;

import com.sc.controller.vo.*;
import com.sc.entity.Orders;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author 许一
 * @since 2023-12-08 11:38:15
 */
@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {

    List<OrderLineChartDetiailVO> getLineList(Long id);

    OrderLineChartVO getLines(Long id);

    OrderPieChartDetiailVO getPieList(Long id);

    List<OrderHistogramDetiailVO> getHistogram(Long id);

    OrderSumVO getSum(Long id);

    List<OrderOutboundRateVO> getOutboundRate(Long id);

    List<OrderVolumeVO> getWorkload(Long id);
}
